package Kuaishou;

/**
 * @author leiwenkang <leiwenkang@kuaishou.com>
 * Created on 2020-08-20
 */
public class Test04继承实现测试 extends AbstractClass implements interfaceClass {
    public static void main(String[] args) {
        new Test04继承实现测试().say();
    }
}

abstract class AbstractClass {
    public void say() {
        System.out.println("hello abstract");
    }
}

interface interfaceClass {
    default void say() {
        System.out.println("hello interface");
    }
}
